package cn.raven.pet.mapper;

import cn.raven.pet.domain.PetDetail;
import cn.raven.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Raven
 * @since 2022-07-16
 */
public interface PetDetailMapper extends BaseMapper<PetDetail> {
    //根据petId删除详情表数据
    void delByPetId(Long id);
    //根据petId修改数据
    void updateByPetId(PetDetail detail);
    //根据petid查询详情
    PetDetail findByPetId(Long petId);
}
